﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ShowProjectManagers.aspx.cs" Inherits="Bitirme.Views.ShowProjectManagers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <fieldset class="login">
        <legend>Proje Yöneticileri</legend>
        <center>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataSourceID="ObjectDataSource1" 
            onRowCommand = "GridView1_OnRowCommand" CssClass="GridStyle" GridLines="None">
            <Columns>
                 <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
                 <asp:BoundField DataField="Name" HeaderText="İsim" SortExpression="Name" />
                <asp:BoundField DataField="SurName" HeaderText="Soyisim" SortExpression="SurName" />
                <asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
                <asp:ButtonField CommandName="update" ButtonType="Button" Text="Güncelle" 
                      />
                <asp:ButtonField CommandName="deleteProjectManager" ButtonType="Button" Text="Sil" />
                <asp:ButtonField CommandName="select" ButtonType="Button" Text="Görüntüle" />
                
            </Columns>
            <RowStyle CssClass="RowStyle" />
            <EmptyDataRowStyle CssClass="EmptyRowStyle" />
            <PagerStyle CssClass="PagerStyle" />
            <SelectedRowStyle CssClass="SelectedRowStyle" />
            <HeaderStyle CssClass="HeaderStyle" />
            <EditRowStyle CssClass="EditRowStyle" />
            <AlternatingRowStyle CssClass="AltRowStyle" />
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="GetAllProjectManagersWithAllAttributes" TypeName="Bitirme.Controllers.ProjectManagerHandler">
        </asp:ObjectDataSource>
        </center>
        <p></p>
    </fieldset>
</asp:Content>
